<button nz-button nzType="primary" (click)="createTplModal(tplTitle, tplContent, null)">
  <span>Modal</span>
</button>

<ng-template #tplTitle>
  <span>Title Template</span>
</ng-template>
<ng-template #tplContent>
  <iframe src="form" height="100%" width="100%"></iframe>
</ng-template>

<button nz-button nzType="primary" (click)="toOpenWindow()">
  <span>Window</span>
</button>
